package com.talent.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.talent.page.Page;
import com.talent.pojo.OpenStatus;

public interface OpenStatusMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(OpenStatus record);

    int insertSelective(OpenStatus record);

    OpenStatus selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OpenStatus record);

    int updateByPrimaryKey(OpenStatus record);

	List<OpenStatus> selectOpenStatusPage(@Param("openStatus")OpenStatus openStatus, @Param("page")Page<OpenStatus> page);

	int openStatus(@Param("id")Integer id);

	int closeStatus(@Param("id")Integer id);

	int selectStatusById(@Param("sta")int sta);
}